<template>
	<web-view :webview-styles="webviewStyles" :src="url" />
</template>

<script>
	export default {
		data: () => ({
			url: "",
			webviewStyles: {
				progress: {
					color: "#1ba0ff",
				},
			},
		}),

		onLoad({ url = "" }) {
			this.url = decodeURIComponent(url);
		},
	};
</script>

<style lang="scss" scoped>
	// scss
</style>